//
//  DCWebModel.m
//  Demo
//
//  Created by zhaolin on 2023/1/3.
//

#import "DCWebModel.h"

@implementation DCWebModel

+ (id)creatPrivacyAgreement {
    DCWebModel *model = [[self alloc] init];
    model.title = @"Rivacy Agreement";
    model.url = [NSString stringWithFormat:@"%@%@",API_address,privacyAgreements];
    return model;
}

+ (id)creatLoanAgreement {
    DCWebModel *model = [[self alloc] init];
    model.title = @"Loan Agreement";
    model.url = [NSString stringWithFormat:@"%@%@",API_address,borrowingAgreements];
    return model;
}

+ (id)creatRegisterAgreement {
    DCWebModel *model = [[self alloc] init];
    model.title = @"Register Agreement";
    model.url = [NSString stringWithFormat:@"%@%@",API_address,registAgreements];
    return model;
}
@end
